package com.sc.nft.entity.vo.tradingPool;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.TradingPoolChangeOperationContentEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 刘国航
 * @desc
 * @since 2024/10/30 10:11
 */
@Data
public class TradingPoolChangeLogVO implements Serializable {

    private static final long serialVersionUID = 6412277322693787004L;

    @ApiModelProperty("记录时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    @ApiModelProperty("操作内容")
    private TradingPoolChangeOperationContentEnum operationContent;

    @ApiModelProperty("操作内容名称")
    private String operationContentName;

    @ApiModelProperty("数量")
    private BigDecimal quantity;

    @ApiModelProperty("变化前")
    private BigDecimal beforeChange;

    @ApiModelProperty("变化后")
    private BigDecimal afterChange;

}
